//SOME OF THE CODE FROM WRIGHTEAGLE_BASE_3

#include "Geometry.h"
#include "Util.h"

#include "States/MobileObject.h"


double Vector::directionOf(MobileObject* o)
{
    if (o == NULL)
    {
        //logger, exception class!
        printf("ERROR: Null pointer\n");
        return 0.0;
    }
    else
    {
        return directionOf(o->getPosition());
    }
}
